---
title: logging.JSONLogger.toSyslog()
api: logging.JSONLogger.toSyslog
---

## Description

<Summary/>

## Syntax

``` js
logger.toSyslog(priority)
```

## Parameters

<Parameters/>

## See Also

* [logging.JSONLogger](/reference/api/logging/JSONLogger)
* [toFile()](/reference/api/logging/JSONLogger/toFile)
* [toHTTP()](/reference/api/logging/JSONLogger/toHTTP)
* [toStderr()](/reference/api/logging/JSONLogger/toStderr)
* [toStdout()](/reference/api/logging/JSONLogger/toStdout)
